package com.zhz.thymeleafmp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("dept")
public class Dept implements Serializable {
    @TableId(type = IdType.AUTO)
    private int id;

    private String dname;
}
